package D4;

import javax.naming.NamingEnumeration;

public class Main {
    public static void main(String[] args) {
        //多态
        TeacherOperater t3 = new Chinese();
        TeacherOperater t4 = new Math();
        t3.teach();
        t4.teach();
    }
}
